var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');
var UserSchema = new mongoose.Schema({
    name:String,
    sex:String,
    phone:Number,
    password:String,
});
UserSchema.plugin(mongoosePaginate);

module.exports = mongoose.model('User',  UserSchema); // Model.paginate()

